﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;

namespace ServiceBus.Contract
{
    public static class KnowTypes
    {
        private static List<Type> MyKnownTypes = new List<Type>();
        public static void AddKnownType(Type type)
        {
            MyKnownTypes.Add(type);
        }
        public static IEnumerable<Type> GetKnownTypes(ICustomAttributeProvider provider)
        {
            return MyKnownTypes.ToArray();
        }
    }
}
